export default {
  state: {
    active: null,
  },
  reducers: {
    setActive(state: any, { payload: item }: any) {
      console.log(item);
      state.active = item;
      return state;
    },
  },
};
